package myJs.myPkg.antdMobile

import slinky.core._
import slinky.core.annotations.react

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport
import scala.scalajs.js.|
import org.scalajs.dom.History
import slinky.core.facade.ReactElement
import slinky.web.html.a

/**
 * Created by yz on 7/2/2022
 */
@react object NavBar extends ExternalComponent {

  case class Props(
                    onBack: js.UndefOr[() => Unit] = js.undefined,
                    back: js.UndefOr[String] = js.undefined
                  )

  @js.native
  @JSImport("antd-mobile", "NavBar")
  object Component extends js.Object {

  }

  override val component = Component

}
